package com.yunji.ylexpiration_backstage.mapper;

import com.yunji.ylexpiration_backstage.entity.FurnFavorite;
import com.yunji.ylexpiration_backstage.entity.FurnFavoriteExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface FurnFavoriteMapper {
    int countByExample(FurnFavoriteExample example);

    int deleteByExample(FurnFavoriteExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FurnFavorite record);

    int insertSelective(FurnFavorite record);

    List<FurnFavorite> selectByExample(FurnFavoriteExample example);

    FurnFavorite selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FurnFavorite record, @Param("example") FurnFavoriteExample example);

    int updateByExample(@Param("record") FurnFavorite record, @Param("example") FurnFavoriteExample example);

    int updateByPrimaryKeySelective(FurnFavorite record);

    int updateByPrimaryKey(FurnFavorite record);
}